#pragma once


#include "System.h"

class Scene;


class Manager {
public:
	Manager();
	virtual ~Manager();

	Node* getObject(string name);
	Node* getObject(int id);

	Node* getOrigin(string name);
	Node* getOrigin(int id);

	bool addObject(Node* node);
	bool addOrigin(Node* node);

	virtual void run() = 0;
	virtual void initManager(Scene* s) {};

private:
	map<int, Node*> lstOrigin_;
protected:
	map<int, Node*> lstObject_;
};